﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GoalManagement_ChangePriority.aspx.cs" Inherits="PMP.Goals.GoalManagement_ChangePriority" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Priority - Goal</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:Label ID="Label2" runat="server" Text="New Priority:"></asp:Label>
    <asp:DropDownList ID="ddlPriority" runat="server" 
        DataSourceID="SqlDataSourceGoalPriority" DataTextField="name" 
        DataValueField="id" Height="20px" Width="200px">
    </asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSourceGoalPriority" runat="server" 
        ConnectionString="<%$ ConnectionStrings:LocalConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:LocalConnectionString.ProviderName %>" 
        SelectCommand="SELECT [id], [name] FROM [goalpriority] ORDER BY [name]">
    </asp:SqlDataSource>
    <asp:Button ID="btnUpdate" runat="server" Text="Update" 
        onclick="btnUpdate_Click" />
    <asp:Button ID="btnCancel" runat="server" onclick="btnCancel_Click" 
        Text="Cancel" />
    <br />
    <asp:TextBox ID="txtGoal" runat="server" Visible="False"></asp:TextBox>
    </form>
</body>
</html>
